package com.ruoyi.basedata.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

public class OmsSettlementrateentrytwo extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    private Long id;

    /**
     * 父表id
     */
    private Long parentid;

    /**
     * 组织编码
     */
    @Excel(name = "组织编码")
    private String orgnumber;

    /**
     * 组织名称
     */
    @Excel(name = "组织名称")
    private String orgname;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setParentid(Long parentid) {
        this.parentid = parentid;
    }

    public Long getParentid() {
        return parentid;
    }

    public void setOrgnumber(String orgnumber) {
        this.orgnumber = orgnumber;
    }

    public String getOrgnumber() {
        return orgnumber;
    }

    public void setOrgname(String orgname) {
        this.orgname = orgname;
    }

    public String getOrgname() {
        return orgname;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("parentid", getParentid())
                .append("orgnumber", getOrgnumber())
                .append("orgname", getOrgname())
                .toString();
    }
}
